//
//  NSString+Size.h
//  KuBer
//
//  Created by 吴双 on 16/3/8.
//  Copyright © 2016年 huaxu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NSString (Size)

- (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize;

- (CGSize)sizeWithFontSize:(CGFloat)fontSize maxSize:(CGSize)maxSize;
- (CGSize)sizeWithFontSizeFont:(UIFont*)fontSize maxSize:(CGSize)maxSize;
- (CGFloat)heightWithFontSize:(CGFloat)fontSize maxWidth:(CGFloat)maxWidth;
- (CGFloat)heightWithFont:(UIFont *)font maxWidth:(CGFloat)maxWidth;

- (CGFloat)getTextWidth:(CGFloat)height font:(UIFont*)fount;

@end
